    <style>
        * {
            margin: 0;
            padding: 0;
        }
 
        #div_con {
            position: relative;
            width: 250px;
            height: 350px;
            margin: 20px;
            border: 2px solid #eee;
            overflow: hidden;
        }
 
        #div_msg {
            position: absolute;
 
            width: 230px;
            height: auto;
            margin: 0;
            padding: 10px;
            
            border: 0px solid red;
        }
 

 	
 	
#img2:hover{
	transform: scale(1.3);
	transition:1s;

}
    </style>